package org.mygreencart.entities


class Product {

   String name;
   Manufacturer manufacturer;
   Float weight;
   Float volume;
   String dimensions;



   static hasMany = [categories: ProductCategory, prices: ProductPrice, relatedProducts: Product]



   static constraints = {
      weight nullable:true
      volume nullable:true
      dimensions nullable:true
   }
}



